package com.cyrusInnovation.test.formatter;

import java.text.SimpleDateFormat;
/*
 *	string format: LastName | FirstName | MiddleInitial | Gender | FavoriteColor | DateOfBirth(M-d-yyyy)
 */

public class PipeRecordFormatter extends DelimiterRecordFormatter {
	public PipeRecordFormatter(){
		super();
	}
	
	public void init() {
		delimiter="|";
		dtFormat = new SimpleDateFormat("M-d-yyyy");
		lastNamePosition=0;
		firstNamePosition=1;
		genderPosition=3;
		favoriteColorPosition=4;
		dateOfBirthPosition=5;
	}
	
}
